AcVendor\Brick\Math\BigInteger D

Total Complexity 141
Dependencies 11
Dependents 4
Total lines 1,176
Lines of code 459
Logical lines of code 268
Comment lines 482
Methods 53
Properties 1

Methods 53

Method Rating Maintainability Complexity Lines of code
fromBase()
A
47 11 36
toBytes()
A
49 9 30
fromBytes()
S
56 5 17
modInverse()
S
58 5 16
power()
S
58 5 16
modPow()
S
61 5 12
gcd()
S
62 5 11
randomBits()
S
56 4 17
randomRange()
S
58 4 16
fromArbitraryBase()
S
57 4 15
shiftedRight()
S
61 4 13
toBase()
S
64 4 9
getLowestSetBit()
S
63 3 11
remainder()
S
63 3 11
quotient()
S
63 3 11
multipliedBy()
S
63 3 11
dividedBy()
S
62 3 11
plus()
S
63 3 11
toArbitraryBase()
S
63 3 10
gcdMultiple()
S
64 3 10
getBitLength()
S
65 3 9
getSign()
S
77 3 3
shiftedLeft()
S
66 3 9
quotientAndRemainder()
S
63 2 11
testBit()
S
70 2 6
compareTo()
S
68 2 7
unserialize()
S
71 2 6
__unserialize()
S
70 2 6
abs()
S
79 2 3
sqrt()
S
68 2 7
mod()
S
66 2 8
minus()
S
66 2 8
ten()
S
69 2 7
one()
S
69 2 7
zero()
S
69 2 7
toInt()
S
69 2 7
__serialize()
S
80 1 3
__toString()
S
82 1 3
serialize()
S
82 1 3
toScale()
S
79 1 3
toFloat()
S
81 1 3
__construct()
S
81 1 3
toBigRational()
S
79 1 3
toBigDecimal()
S
80 1 3
toBigInteger()
S
82 1 3
isOdd()
S
76 1 3
isEven()
S
76 1 3
not()
S
80 1 3
xor()
S
75 1 4
or()
S
75 1 4
of()
S
79 1 3
negated()
S
79 1 3
and()
S
75 1 4